import Vue from 'vue';
import login from "../components/login";
import register from "../components/register";
import index from "../components/admin/index";
import add from "../components/admin/add";
import Acid from "../components/admin/Acid";
import Cfid from "../components/admin/Cfid";
import accontest from "../components/admin/accontest";
import cfcontest from "../components/admin/cfcontest";
import contest from "../components/admin/contest";
import contest1 from "../components/admin/contest1";
import recent from "../components/admin/recent";
import student from "../components/admin/student";
import atcoderrank from "../components/admin/atcoderrank";
import atcoderrank1 from "../components/admin/atcoderrank1";
import codeforcesrank from "../components/admin/codeforcesrank";
import codeforcesrank1 from "../components/admin/codeforcesrank1";
import home from "../components/student/home";
import personal from "../components/student/personal";
import Acid1 from "../components/student/Acid1";
import Cfid1 from "../components/student/Cfid1";
import recent1 from "../components/student/recent1";
import student1 from "../components/student/student1";
import stucontest1 from "../components/student/stucontest1";
import accontest1 from "../components/student/accontest1";
import cfcontest1 from "../components/student/cfcontest1";
import stucontest from "../components/student/stucontest";
import atcoder from "../components/student/atcoder";
import atcoder1 from "../components/student/atcoder1";
import codeforces from "../components/student/codeforces";
import codeforces1 from "../components/student/codeforces1";
import homepage from "../components/visitor/homepage";
import recent2 from "../components/visitor/recent2";
import atcoderrank2 from "../components/visitor/atcoderrank2";
import atcoderrank3 from "../components/visitor/atcoderrank3";
import codeforcesrank2 from "../components/visitor/codeforcesrank2";
import codeforcesrank3 from "../components/visitor/codeforcesrank3";
import Acid2 from "../components/visitor/Acid2";
import Cfid2 from "../components/visitor/Cfid2";
import accontest2 from "../components/visitor/accontest2";
import cfcontest2 from "../components/visitor/cfcontest2";
import contest2 from "../components/visitor/contest2";
import contest3 from "../components/visitor/contest3";
import Router from "vue-router"
Vue.use(Router)

export default new Router({
	// mode: 'history'
	routes: [
		{
			path: '/homepage',
			name: 'homepage',
			component: homepage,
			hidden: true
		},
		{
			path: '/',
			name: 'login',
			component: login,
			hidden: true
		},
		{
			path: '/register',
			name: 'register',
			component: register,
			hidden: true
		},
		{
			path: '/index',
			name: 'index',
			component: index,
			hidden: true
		},
		{
			path: '/home',
			name: 'home',
			component: home,
			hidden: true
		},
		{
			path: '/personal',
			name: 'personal',
			component: personal,
			hidden: true
		},
		{
			path: '/add',
			name: 'add',
			component: add,
			hidden: true
		},
		{
			path: '/Acid',
			name: 'Acid',
			component: Acid,
			hidden: true
		},
		{
			path: '/Acid1',
			name: 'Acid1',
			component: Acid1,
			hidden: true
		},
		{
			path: '/Acid2',
			name: 'Acid2',
			component: Acid2,
			hidden: true
		},
		{
			path: '/Cfid',
			name: 'Cfid',
			component: Cfid,
			hidden: true
		},
		{
			path: '/Cfid1',
			name: 'Cfid1',
			component: Cfid1,
			hidden: true
		},
		{
			path: '/Cfid2',
			name: 'Cfid2',
			component: Cfid2,
			hidden: true
		},
		{
			path: '/student',
			name: 'student',
			component: student,
			hidden: true
		},
		{
			path: '/student1',
			name: 'student1',
			component: student1,
			hidden: true
		},
		{
			path: '/accontest',
			name: 'accontest',
			component: accontest,
			hidden: true
		},
		{
			path: '/accontest1',
			name: 'accontest1',
			component: accontest1,
			hidden: true
		},
		{
			path: '/accontest2',
			name: 'accontest2',
			component: accontest2,
			hidden: true
		},
		{
			path: '/cfcontest',
			name: 'cfcontest',
			component: cfcontest,
			hidden: true
		},
		{
			path: '/cfcontest1',
			name: 'cfcontest1',
			component: cfcontest1,
			hidden: true
		},
		{
			path: '/cfcontest2',
			name: 'cfcontest2',
			component: cfcontest2,
			hidden: true
		},
		{
			path: '/contest',
			name: 'contest',
			component: contest,
			hidden: true
		},
		{
			path: '/contest2',
			name: 'contest2',
			component: contest2,
			hidden: true
		},
		{
			path: '/contest3',
			name: 'contest3',
			component: contest3,
			hidden: true
		},
		{
			path: '/stucontest',
			name: 'stucontest',
			component: stucontest,
			hidden: true
		},
		{
			path: '/contest1',
			name: 'contest1',
			component: contest1,
			hidden: true
		},
		{
			path: '/stucontest1',
			name: 'stucontest1',
			component: stucontest1,
			hidden: true
		},
		{
			path: '/recent',
			name: 'recent',
			component: recent,
			hidden: true
		},
		{
			path: '/recent1',
			name: 'recent1',
			component: recent1,
			hidden: true
		},
		{
			path: '/recent2',
			name: 'recent2',
			component: recent2,
			hidden: true
		},
		{
			path: '/atcoder',
			name: 'atcoder',
			component: atcoder,
			hidden: true
		},
		{
			path: '/atcoder1',
			name: 'atcoder1',
			component: atcoder1,
			hidden: true
		},
		{
			path: '/codeforces',
			name: 'codeforces',
			component: codeforces,
			hidden: true
		},
		{
			path: '/codeforces1',
			name: 'codeforces1',
			component: codeforces1,
			hidden: true
		},
		{
			path: '/atcoderrank',
			name: 'atcoderrank',
			component: atcoderrank,
			hidden: true
		},
		{
			path: '/atcoderrank1',
			name: 'atcoderrank1',
			component: atcoderrank1,
			hidden: true
		},
		{
			path: '/atcoderrank2',
			name: 'atcoderrank2',
			component: atcoderrank2,
			hidden: true
		},
		{
			path: '/atcoderrank3',
			name: 'atcoderrank3',
			component: atcoderrank3,
			hidden: true
		},
		{
			path: '/codeforcesrank',
			name: 'codeforcesrank',
			component: codeforcesrank,
			hidden: true
		},
		{
			path: '/codeforcesrank1',
			name: 'codeforcesrank1',
			component: codeforcesrank1,
			hidden: true
		},
		{
			path: '/codeforcesrank2',
			name: 'codeforcesrank2',
			component: codeforcesrank2,
			hidden: true
		},
		{
			path: '/codeforcesrank3',
			name: 'codeforcesrank3',
			component: codeforcesrank3,
			hidden: true
		}
	]
})
